
#ifndef STATEACHIEVEMENTS_H
#define STATEACHIEVEMENTS_H

#include "Singleton.h"
#include "GameState.h"

#include "RenderableEntity.h"
#include "TextEntity.h"
#include "TimeLineEffect.h"
#include "FadeEffect.h"
#include "MoveEffect.h"
#include "ScaleEffect.h"

class StateAchievements : public GameState, public Singleton<StateAchievements>
{
private:
    enum eStates { Enter, Idle, Exit };
    
    eStates m_eState;

    TextEntity* m_tTitle;
    TextEntity* m_tBack;
    
    RenderableEntity* m_bg;
    
    TimeLineEffect *m_eEnter;
    TimeLineEffect *m_eExit;
    
public:
	StateAchievements();
	~StateAchievements();
	
	void loadContent();
	void unloadContent();
	void enter();
	void update(float dt);
	void render();
	void exit();
};

#endif
